const baseurl="http://47.101.180.43:8080"
//部门管理api
const getDepartmentsUrl=baseurl+"/getDepartments"
const searchForDepartmentByIdUrl=baseurl+"/searchForDepartmentById"
const getDepartmentsConsistentUrl=baseurl+"/getDepartmentsConsistent"
const searchForDepartmentNameUrl=baseurl+"/searchForDepartmentName"
const editDepartmentUrl=baseurl+"/editDepartment"
const searchPeopleOutOfDepartmentByKeyUrl=baseurl+"/searchPeopleOutOfDepartmentByKey"
const addPeopleToDepartmentUrl=baseurl+"/addPeopleToDepartment"
const shutPersonInDepartmentUrl=baseurl+"/shutPersonInDepartment"
const deletePersonFromDepartmentUrl=baseurl+"/deletePersonFromDepartment"
const deletePersonsFromDepartmentUrl=baseurl+"/deletePersonsFromDepartment"
const setPersonToBeLeaderUrl=baseurl+"/setPersonToBeLeader"
const createDepartmentUrl=baseurl+"/createDepartment"
const deleteDepartmentUrl=baseurl+"/deleteDepartment"
const exemptLeader=baseurl+"/exemptLeader";
//员工管理api
const getIndustryTypes=baseurl+"/getIndustryTypes";
const personInfoShow=baseurl+"/personInfo/show";
const personInfoAdd=baseurl+"/personInfo/add";
const personInfoUpdate=baseurl+"/personInfo/update";
const personInfoSelect=baseurl+"/personInfo/select";
const personInfoDelete=baseurl+"/personInfo/delete";
const personInfoDeleteMultiple=baseurl+"/personInfo/deleteMultiple";
const personInfoBan=baseurl+"/personInfo/ban";
const personInfoImport=baseurl+"/personInfo/import";
//角色管理api
const getRoles=baseurl+"/getRoles";
const getAllAuthorities=baseurl+"/getAllAuthorities";
const addRole=baseurl+"/addRole";
const deleteRole=baseurl+"/deleteRole";
const updateRole=baseurl+"/updateRole";
const linkedPersons=baseurl+"/linkedPersons";
const passwordReset=baseurl+"/passwordReset";
const notLinkedPersons=baseurl+"/notLinkedPersons";
const personLinkToRole=baseurl+"/personLinkToRole";
//视图管理api
const getView=baseurl+"/getView";
const getModelIndexes=baseurl+"/getModelIndexes";
const updateView=baseurl+"/updateView";
//项目设置api
const getProjectTypes=baseurl+"/getProjectTypes";
const updateProjectType=baseurl+"/updateProjectType";
const addProjectType=baseurl+"/addProjectType";
const deleteProjectType=baseurl+"/deleteProjectType";
//const getIndustryTypes=baseurl+"/getIndustryTypes";
const updateIndustryType=baseurl+"/updateIndustryType";
const addIndustryType=baseurl+"/addIndustryType";
const deleteIndustryType=baseurl+"/deleteIndustryType";

export default{
    //部门管理api
    getDepartmentsUrl:getDepartmentsUrl,
    searchForDepartmentByIdUrl:searchForDepartmentByIdUrl,
    getDepartmentsConsistentUrl:getDepartmentsConsistentUrl,
    searchForDepartmentNameUrl:searchForDepartmentNameUrl,
    editDepartmentUrl:editDepartmentUrl,
    searchPeopleOutOfDepartmentByKeyUrl:searchPeopleOutOfDepartmentByKeyUrl,
    addPeopleToDepartmentUrl:addPeopleToDepartmentUrl,
    shutPersonInDepartmentUrl:shutPersonInDepartmentUrl,
    deletePersonFromDepartmentUrl:deletePersonFromDepartmentUrl,
    deletePersonsFromDepartmentUrl:deletePersonsFromDepartmentUrl,
    setPersonToBeLeaderUrl:setPersonToBeLeaderUrl,
    createDepartmentUrl:createDepartmentUrl,
    deleteDepartmentUrl:deleteDepartmentUrl,
    exemptLeader:exemptLeader,
    //员工管理api
    getIndustryTypes:getIndustryTypes,
    personInfoShow:personInfoShow,
    personInfoAdd:personInfoAdd,
    personInfoUpdate:personInfoUpdate,
    personInfoSelect:personInfoSelect,
    personInfoDelete:personInfoDelete,
    personInfoDeleteMultiple:personInfoDeleteMultiple,
    personInfoBan:personInfoBan,
    personInfoImport:personInfoImport,
    //角色管理api
    getRoles:getRoles,
    getAllAuthorities:getAllAuthorities,
    addRole:addRole,
    deleteRole:deleteRole,
    updateRole:updateRole,
    linkedPersons:linkedPersons,
    passwordReset:passwordReset,
    notLinkedPersons:notLinkedPersons,
    personLinkToRole:personLinkToRole,
    //视图管理api
    getView:getView,
    getModelIndexes:getModelIndexes,
    updateView:updateView,
    //项目设置api
    getProjectTypes:getProjectTypes,
    updateProjectType:updateProjectType,
    addProjectType:addProjectType,
    deleteProjectType:deleteProjectType,
  //  getIndustryTypes:getIndustryTypes,
    updateIndustryType:updateIndustryType,
    addIndustryType:addIndustryType,
    deleteIndustryType:deleteIndustryType,
}   